<template>
    <div>
        <h1>{{msg}}</h1>
        <!-- <h1>{{gmsg}}</h1> -->
    </div>
</template>

<script setup>
import { getCurrentInstance, onMounted, ref } from 'vue';
const { proxy } = getCurrentInstance();
const msg = ref('fs')
// const gmsg = ref('fs')
onMounted(() => {
    msg.value = proxy.msg
    // gmsg.value = proxy.globalInfo.msg
})
</script>

<style lang="scss" scoped>

</style>